package com.example.观察者模式;


import com.example.观察者模式.push.NowConditionDisplay;
import com.example.观察者模式.push.WeatherData;

/**
 *
 */
public class pushMain {

    public static void main(String[] args) {
        WeatherData weatherData = new WeatherData();
        NowConditionDisplay nowConditionDisplay = new NowConditionDisplay(weatherData);

        weatherData.setMeasurements(20, 10, 29.2f);
    }
}
